package com.qeng.aiwanba.util;

import android.os.Environment;

import com.qeng.aiwanba.fragment.BaseFragment;
import com.qeng.aiwanba.model.AppData;

import java.io.File;

/**
 * Created by lixy on 2017/9/25.
 */

public class Constants {
    public static final boolean LOG_VISIBLE = true;

    public static final String privateKey = "MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAO+kENh5YrVUZkLA" +
            "RPPkwdLOZlqDzOAMMfz0mqAnURQNOEGsdiVuSxHcAI5F+8OHon6NIpahchAlxLXY" +
            "SXKrPBRpOlO2GdSHSNTyYmA7Mm5PC2TbFko0STvUzT3yHi2auIkI8xYQcyf7RT+o" +
            "KgdJ3Nt+03BdOmNGt/ovg/IUB549AgMBAAECgYACH906XhEe9GmXq+awltWVDdlg" +
            "cgyt683BpVV9l/ujBt75zhKaEFlABkhG+p3ZxOkO4CdvWG0PcZZF2m4EQzpcG5Hv" +
            "b0EbxsnYF09VY+URyZgSy6I8UWT0eVnKvxz9D4lYrQNRx1VPAmBUPif/QLQ9tms0" +
            "aYc0S+3L9DyFYfd5oQJBAP9MhjsWGlwzDGy3GWKqR+YZshlcJJRRUHIhZYCp9nBc" +
            "BO1QKq2XJw1FvRh0jlZvnVD94929aZz55Lm7+g2EYbUCQQDwTIipClKrCC1bLrap" +
            "n6STTg6I3571VBEk3giDMgvA37olVQWJJ6OoOylXpP1EuUlYK4tLOTJxviKqAWrP" +
            "8D9pAkBbCqQXsBMoa//zSPxhhg3rzaAIkSZuSe0hNi2nS3UZrocHRf5iNzPy9Lqx" +
            "XOdhhZ4ZQuEesyxVkXvyjEloxpu9AkB+0TVSWPNV9gPR2m5mSK1XXFuJWtMOUCaY" +
            "GWHOs2vGh4w6xYsdXkEduNNRwO41BcAyexCRS4dWxeyPYh4XzYf5AkB7bwmHvO1w" +
            "nwB1h1qpAUBm2IMXpTUxPtuMp9QeKc+42V8IpkhA14AIvuN9tMBEoNbv6czn8ZU9" +
            "Tshfl4RSMbYT";

    public static BaseFragment topFrgment;

    public static String WECHAT_APP_ID = "wxd264b8c73b3a2c67";

    public static final int PAY_SUCCESS_CODE = 0;   //支付成功
    public static final int PAY_OTHER_CODE = -1;     //其他错误
    public static final int PAY_CANCEL_CODE = -2;   //用户取消
    public static final int PAY_FAILED_CODE = -3;   //支付失败

    public static final String rootFilePath = Environment.getExternalStorageDirectory()+ File.separator+"aiwanba";
    public static final String htmlFilePath = rootFilePath+File.separator+"html";

    public static final int localHtmlVersion = 1;

    public static final int ONLINE_PLAY_STATE_SUCC = 0;
    public static final int ONLINE_PLAY_STATE_NOT_SUPPORT = -1;
    public static final int ONLINE_PLAY_STATE_OTHER_ERROR = -2;

    public static AppData onlinePlayApp;

    public static String htmlIp = "http://192.168.106.162:8081";
    public static final boolean isLoadHtml = true;

    public static final String BROADCAST_HTML_DOWNLOAD_FINISH = "aiwanba_download_html_finish";
    public static final String BROADCAST_NOTIFICATION_CLICK_DEAL = "aiwanba_notification_click_deal";


}
